<?php
if(!isset($_SESSION)) 
{ 
session_start(); 
}  
include '../../operations/connection.php';
$sqlpartner = mysql_query("SELECT am.PartnerID,am.PartnerName,am.UserName,am.DatabaseName,am.Phone,am.Email,am.Website,am.`Status`
		FROM `ac_eli_manager` am WHERE am.Role=2; ");

$newlang = $_REQUEST['newlang'];

if ($_REQUEST['newlang'] == "EN") {
	include "../../value/value_en.php";
} else if($_REQUEST['newlang'] == "VN") {
	include "../../value/value_vn.php";
}
else {
	include "../../value/value_kr.php";
}
?>


<form action="admin/partnermanage/process-add-partner-manage.php"  method="post">
	<table align="center">
		<tbody>
			<tr style="height: 21px;">
				<td style="width: 30%"><?php echo $l_doitac?>: <span
					style="color: red">( * )</span></td>
				<td style="width: 70%"><input onkeypress="return enterTable(event,this.id);" id="parnername" name="parnername"
					type="text" value="" style="height: 21px; width: 100%;border: 1px solid #c4c6c9;"
					autocomplete="off" /></td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_passwordLBL?> <span style="color: red">( * )</span>
				</td>
				<td><input onkeypress="return enterTable(event,this.id);" type="password" id="password" name="password"
					style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" value="" autocomplete="off" /></td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_retypepassword?> : <span style="color: red">( * )</span>
				</td>
				<td><input onkeypress="return enterTable(event,this.id);" type="password" id="repassword" name="repassword"
					style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" value="" autocomplete="off" /></td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_databasename?> : <span style="color: red">( * )</span>
				</td>
				<td><input onkeypress="return enterTable(event,this.id);" id="databasename" name="databasename" type="text"
					value="" style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" />
				</td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_domainame?> : <span style="color: red">( * )</span>
				</td>
				<td><input onkeypress="return enterTable(event,this.id);"  id="domainname" name="domainname" type="text" value=""
					style="height: 21px; width: 29%;border: 1px solid #c4c6c9;" /><input value="."
					style="width: 1%; border: none; font-weight: bold; text-align: center;">
					<input id="enddatabasename" name="enddatabasename" type="text"
					value="myapprove.com"
					style="height: 21px; width: 68%; background: #eee; float: right;border: 1px solid #c4c6c9;"
					readonly="readonly" />
				</td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_email?> : <span style="color: red">( * )</span></td>
				<td><input onkeypress="return enterTable(event,this.id);" id="email" name="email" type="text" value=""
					style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" />
				</td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_phone?> :</td>
				<td><input onkeypress="return enterTable(event,this.id);" id="phone" name="phone" type="text" value=""
					style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" />
				</td>
				<td></td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_Website?> :</td>
				<td><input onkeypress="return enterTable(event,this.id);" id="website" name="website" type="text" value=""
					style="height: 21px; width: 100%;border: 1px solid #c4c6c9;" /></td>
				<td></td>
			</tr>
			<tr style="height: 21px;">
				<td><?php echo $l_roothome?> :</td>
				<td><input  onkeypress="return enterTable(event,this.id);" id="roothome" name="roothome" type="text" value=""
							style="height: 21px;width: 100%;border: 1px solid #c4c6c9;" /></td>
				<td></td>
			</tr>
		</tbody>
	</table>

	<br />
	<div style="text-align: center;">
		<input name="register" value="<?php echo $l_register?>"
			class="buttonNormal" type="button" onclick="checkEmpty1();";   /> 
		<input name="reset"
			value="<?php echo $l_reset?>" class="buttonNormal" type="reset"
			onclick="reset();" /> <br />
	</div>
</form>
